let fs = require("fs");

let info =  fs.readdirSync("./8.loginAndRegister");
console.log(info); //['login.js','perosns.josn','register.js']